/* --------------------------------------------------
  幅768px以上のスタイル指定 ここから
-------------------------------------------------- */

@media screen and (min-width: 800px) {
  body {
    max-width: 2000px;
    margin: 0px;
    padding: 0px;
    font-family : 'Microsoft YaHei','SimSun','sans-serif';
  }
  /* --------------------------------------------------
    本文　ここから
-------------------------------------------------- */
  a {
    font-size: 14px;
  }
  h2 {
    font-size: 20px;
  }
  .top {
    padding: 10px 15% 0;
  }
  .top-title h2 {
    position: relative;
    padding: 1rem .5rem;
  }
  .top-title h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    content: '';
    border-radius: 3px;
    background-image: -webkit-gradient(linear, right top, left top, from(#FACC2E),to(#FA5858));
    background-image: -webkit-linear-gradient(right, #FACC2E 0%, #FA5858 100%);
    background-image: linear-gradient(to left, #FACC2E 0%, #FA5858 100%);
  }
  .top-img-center {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .top-img-left {
    display: flex;
    justify-content: flex-end;
    padding: 5%;
  }
  .top-main{
    justify-content: center;
    padding: 2% 15% 0 15%;
  }
 .text{
  width: 100%;
 }
}
/* --------------------------------------------------
  幅600px以下のスタイル指定 ここから
-------------------------------------------------- */

@media screen and (max-width: 800px) {
    body {
    margin: 0px;
    padding: 0px;
    font-family : 'Microsoft YaHei','SimSun','sans-serif';
  }
  /* --------------------------------------------------
    本文SP　ここから
-------------------------------------------------- */
  h2 {
    font-size: 20px;
  }
  a {
    font-size: 16px;
  }
  .top {
    padding: 75px 5% 0;
    background:
  }
  .top-title h2 {
    position: relative;
    padding: 1rem 1rem;
  }
  .top-title h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    content: '';
    border-radius: 3px;
    background-image: -webkit-gradient(linear, right top, left top, from(#FACC2E),to(#FA5858));
    background-image: -webkit-linear-gradient(right, #FACC2E 0%, #FA5858 100%);
    background-image: linear-gradient(to left, #FACC2E 0%, #FA5858 100%);
  }
  .top-main h2 {
    font-size: 18px;
  }
  .top-main a {
    font-size: 16px;
  }
  .top-img-center {
    display: flex;
    justify-content: center;
    width: 100%;
  }
.top-img-center img{
    text-align: center;
    width: 100%;
    height: auto;
    max-width: 200px;
    max-height: 200px;
  }


  .top-main{
    justify-content: center;
    padding: 2% 10% 0 10%;
  }
 .text{
  width: 100%;
 }

}


@page { size: 210mm 297mm } /* A4縦サイズ */
@media print{
  body {
    margin: 0px;
    padding: 0px;
    font-family : 'Microsoft YaHei','SimSun','sans-serif';
  }
  /* --------------------------------------------------
    本文　ここから
-------------------------------------------------- */
  a {
    font-size: 14px;
  }
  h2 {
    font-size: 20px;
  }
  .top {
    padding: 10px 15% 0;
  }
  .top-title h2 {
    position: relative;
    padding: 1rem .5rem;
  }
  .top-title h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    content: '';
    border-radius: 3px;
    background-image: -webkit-gradient(linear, right top, left top, from(#FACC2E),to(#FA5858));
    background-image: -webkit-linear-gradient(right, #FACC2E 0%, #FA5858 100%);
    background-image: linear-gradient(to left, #FACC2E 0%, #FA5858 100%);
  }
  .top-img-center {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .top-img-left {
    display: flex;
    justify-content: flex-end;
    padding: 5%;
  }


  .top-main{
    justify-content: center;
    padding: 2% 15% 0 15%;
  }
 .text{
  width: 100%;
 }

}